package org.hl7.datatypes.r2.basic;

import javax.persistence.Embeddable;
import org.hl7.datatypes.r2.flavors.tel.TEL_URL;
import org.hl7.datatypes.r2.foundation.ANY;
import org.hl7.datatypes.r2.foundation.DSET;
import org.hl7.datatypes.r2.quantities.INT;

@Embeddable
public class ED extends ANY {

    private static final long serialVersionUID = 1L;
    private BIN data;
    private CS mediaType;
    private CS charset;
    private CS language;
    private CS compression;
    private TEL_URL reference;
    private BIN integrityCheck;
    private CS integrityCheckAlgorithm;
    private ST description;
    private ED thumbnail;
    private DSET<ED> translation;
    private INT length;

    public BIN getData() {
        return data;
    }

    public void setData(BIN data) {
        this.data = data;
    }

    public CS getMediaType() {
        return mediaType;
    }

    public void setMediaType(CS mediaType) {
        this.mediaType = mediaType;
    }

    public CS getCharset() {
        return charset;
    }

    public void setCharset(CS charset) {
        this.charset = charset;
    }

    public CS getLanguage() {
        return language;
    }

    public void setLanguage(CS language) {
        this.language = language;
    }

    public CS getCompression() {
        return compression;
    }

    public void setCompression(CS compression) {
        this.compression = compression;
    }

    public TEL_URL getReference() {
        return reference;
    }

    public void setReference(TEL_URL reference) {
        this.reference = reference;
    }

    public BIN getIntegrityCheck() {
        return integrityCheck;
    }

    public void setIntegrityCheck(BIN integrityCheck) {
        this.integrityCheck = integrityCheck;
    }

    public CS getIntegrityCheckAlgorithm() {
        return integrityCheckAlgorithm;
    }

    public void setIntegrityCheckAlgorithm(CS integrityCheckAlgorithm) {
        this.integrityCheckAlgorithm = integrityCheckAlgorithm;
    }

    public ST getDescription() {
        return description;
    }

    public void setDescription(ST description) {
        this.description = description;
    }

    public ED getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(ED thumbnail) {
        this.thumbnail = thumbnail;
    }

    public INT getLength() {
        return length;
    }

    public void setLength(INT length) {
        this.length = length;
    }

    public DSET<ED> getTranslation() {
        return translation;
    }

    public void setTranslation(DSET<ED> translation) {
        this.translation = translation;
    }

    public ED subPart(INT start, INT end) {
        return null;
    }
}
